package com.tcmj.dining.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tcmj.common.annotation.Excel;
import com.tcmj.common.core.domain.BaseEntity;
import com.tcmj.system.domain.SysUser;

/**
 * 点餐对象 tz_vagetables_order
 * 
 * @author tcmj
 * @date 2020-05-17
 */
public class TzVagetablesOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 菜品id */
    private Long vagetablesId;
    
    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String vagetablesName;

    /** 用户id */
    private Long userId;
    
    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;
    
    /** 点餐时间 */
    @Excel(name = "点餐时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;
    
    private TzVagetables tzVagetables;
    
    private SysUser sysUser;
    
    /** 开始时间 */
    private Date startTime;

    /** 结束时间 */
    private Date endTime;
    
    private String tzDiningRoomId;

    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setVagetablesId(Long vagetablesId) 
    {
        this.vagetablesId = vagetablesId;
    }

    public Long getVagetablesId() 
    {
        return vagetablesId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public TzVagetables getTzVagetables() {
		return tzVagetables;
	}

	public void setTzVagetables(TzVagetables tzVagetables) {
		this.tzVagetables = tzVagetables;
	}

	public SysUser getSysUser() {
		return sysUser;
	}

	public void setSysUser(SysUser sysUser) {
		this.sysUser = sysUser;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getVagetablesName() {
		return vagetablesName;
	}

	public void setVagetablesName(String vagetablesName) {
		this.vagetablesName = vagetablesName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getTzDiningRoomId() {
		return tzDiningRoomId;
	}

	public void setTzDiningRoomId(String tzDiningRoomId) {
		this.tzDiningRoomId = tzDiningRoomId;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("vagetablesId", getVagetablesId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
